$ivuTableBorderColor: #ececec;
$ivuTableHeadBackColor: #fffbeb;

.ivu-table-wrapper{
  & > .ivu-table{
    & > .ivu-table-header, & > .ivu-table-fixed > .ivu-table-fixed-header, & > .ivu-table-fixed-right > .ivu-table-fixed-header{
      & > table{
        //border: 1px solid $ivuTableBorderColor;
        border-bottom: none !important;

        & th{
          height: 40px;
          padding: 0;
          //background-color: $ivuTableHeadBackColor !important;
        }
      }
    }
    & > .ivu-table-fixed-right-header{
      //border: 1px solid $ivuTableBorderColor;
      border-left: none;
    }
    & > .ivu-table-fixed, & > .ivu-table-fixed-right{
      &::before{
        display: none !important;
      }
    }
    & > .ivu-table-fixed > .ivu-table-fixed-body, & > .ivu-table-body{
      & .ivu-table-tbody > tr{
        & > td:first-child{
          //border-left: 1px solid $ivuTableBorderColor;
        }
        & > td:last-child{
          //border-right: 1px solid $ivuTableBorderColor;
        }
      }
    }
    & > .ivu-table-fixed-right > .ivu-table-fixed-body{
      & .ivu-table-tbody > tr{
        & > td:first-child{
          border-right: 1px solid $ivuTableBorderColor;
        }
      }
    }
    & > .ivu-table-body, & > .ivu-table-tip{
    }
  }
}
.ivu-drawer{
  & > .ivu-drawer-content{
    //& > .ivu-drawer-header{
    //  background: #9a0010;
    //  & > .ivu-drawer-header-inner{
    //    color: #ffffff;
    //  }
    //}
    //& > .ivu-drawer-close{
    //  & > i{
    //    color: #ffffff;
    //  }
    //}
    & > .ivu-drawer-body{
      padding: 0;
    }
  }
}

.ivu-btn{
  &+.ivu-btn{
    margin-left: 8px;
  }
  &.ivu-btn-default{
    &.ivu-btn-ghost{
      color: #808695;
      border-color: #808695;
    }
  }
}

.ivu-input[disabled], fieldset[disabled] .ivu-input, .ivu-select-input[disabled], .ivu-select-disabled {
  background-color: #efefef;
  color: #545454;
  -webkit-text-fill-color: #545454;
}
.ivu-input-number-disabled .ivu-input-number-input{
  background-color: #efefef;
  color: #545454;
  -webkit-text-fill-color: #545454;
  opacity: 1;
}
.ivu-notice{
  & .ivu-notice-desc{
    word-break: break-all;
  }
}
.ivu-input-wrapper{
  & .input-search-icon{
    margin: -6px 0 !important;
    &:focus{
      outline: none !important;
      box-shadow: none !important;
    }
  }
}
.ivu-input-with-search{
  & > .ivu-icon{
    right: 50px;
    cursor: pointer;
  }
  & > .ivu-input-search{
    background-color: #f5f7fa !important;
    color: #909399 !important;
    border-color: #dcdfe6 !important;
    &::before{
      background-color: #dcdfe6;
    }
  }
  &:hover{
    & .ivu-input-search{
      border-color: #57a3f3 !important;
    }
  }
}
.ivu-input:focus{
  //box-shadow: none;
}
.custom-button-primary{
  background-color: #9a0010;
  border-color: #9a0010;
  color: #ffffff;
  &:hover{
    background-color: #d44a58;
    border-color: #d44a58;
    color: #ffffff;
  }
}
//.ivu-modal-wrap:not(.ignore-head){
//  & > .ivu-modal{
//    & > .ivu-modal-content{
//      & > .ivu-modal-close{
//        & > i{
//          color: #ffffff;
//        }
//      }
//      & > .ivu-modal-header{
//        background-color: #9a0010;
//        border-top-left-radius: 6px;
//        border-top-right-radius: 6px;
//        border-bottom: none;
//        & > .ivu-modal-header-inner{
//          color: #ffffff;
//        }
//      }
//    }
//  }
//}

textarea.ivu-input{
  resize: none;
}
